package com.candy.candyshortlink.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * </p>
 *
 * @author suyanlong
 * @since 2023-05-31
 */
@Data
@TableName("t_shortlink")
public class ShortLink implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    private String channel;

    private String sourceUrl;

    private String sourceUrlMd5;

    private String shortUrl;

    private String shortUrlMd5;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

}
